package com.clean.scanlibrary.http

class HttpApi {

    companion object{

//        //图文识别的Key
        val discernAPIKey = "U2UIzWkkpT2AzSpuWL104S8z"
        val discernSecretKey = "jLuKDSnPBnGYqWnMMRPEL3prp4epkD0b"


        //文字识别
        val discernWordsAPIKey = "DsDv7QcXMW14WqikK365yeIk"
        val discernWordsSecretKey = "mliFb2lscqMAzrBBL78tl73A4hbCaNl7"



        //图像增强特效Key
        val discernPicsAPIKey = "uEjtf3Xjivg8yeorU4YfS6wI"
        val discernPicSecretKey = "IgwdBWsvqpveeOIRXvK4uYpSkWPPWpR2"






        //获取扫描的Token
        val discernTokenUrl = "oauth/2.0/token?"
        //获取扫描的动物
        val discernAnimalUrl = "rest/2.0/image-classify/v1/animal"
        //获取植物的扫描信息
        val discernBotanyUrl = "rest/2.0/image-classify/v1/plant"
        //果蔬识别
        val discernGardenUrl = "rest/2.0/image-classify/v1/classify/ingredient"
        //菜品识别
        val discernDishUrl = "rest/2.0/image-classify/v2/dish"
        //文字扫描
        val discernWordsUrl = "rest/2.0/ocr/v1/accurate_basic"
        //货币扫描
        val discernCurrencyUrl = "rest/2.0/image-classify/v1/currency"

        //黑白图片上色
        val discerncolourizeUrl = "rest/2.0/image-process/v1/colourize"

        //图像风格转换
        val styleTransUrl = "rest/2.0/image-process/v1/style_trans"

         //人物漫画
        val stylePeopleUrl = "rest/2.0/image-process/v1/selfie_anime"

        //红酒识别
        val redWineUrl = "rest/2.0/image-classify/v1/redwine"

        //图片去雾
        val dehazeUrl = "rest/2.0/image-process/v1/dehaze"

        //图像对比度增强
        val contrast_enhanceUrl = "rest/2.0/image-process/v1/contrast_enhance"

        //去除摩尔纹
        val remove_moireUrl = "rest/2.0/image-process/v1/remove_moire"

        val formulaWordsUrl = "rest/2.0/ocr/v1/numbers"

        //办公文档识别
        val office_document_url = "rest/2.0/ocr/v1/doc_analysis_office"
        //台湾通行证识别
        val taiwan_iccard_url = "rest/2.0/ocr/v1/taiwan_exitentrypermit"

//            港澳通行证识别
        val gangao_iccard_url = "rest/2.0/ocr/v1/HK_Macau_exitentrypermit"

        //通用物体和场景识别
        val  body_scan_url = "rest/2.0/image-classify/v2/advanced_general"

         //车辆识别
        val car_scan_info = "rest/2.0/image-classify/v1/multi_object_detect"

         //车型识别
        val car_scan_classify_info = "rest/2.0/image-classify/v1/car"


         //-------------------------------美团AI--------------------------------------------
         //美团AI----风景去噪
         val meituanAppKey = "1844dbe139a542f9a916202395d92dbe"
         val meituanAppSecret = "b70cfc99a6774a65a893df5b6fc58d96"
         //风景去噪
         val landscapeReduceUrl = "https://openapi.mtlab.meitu.com/v2/denoise?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

         //动漫化身
          val mtAnimeAvatarKey = "7ad7b72382a04ed58e78da4db17974da"
          val mtAnimeAvatarSecret = "990a3d1bc9da4765b8c2f705039377a1"
          val animeAvatarUrl= "https://openapi.mtlab.meitu.com/v1/EmojMaterialH5?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

         //美颜技术
         val mtBeautyTechnologyKey = "7ad7b72382a04ed58e78da4db17974da"
         val mtBeautyTechnologySecret = "990a3d1bc9da4765b8c2f705039377a1"
         val beautyTechnologyUrl = "https://openapi.mtlab.meitu.com/v1/beauty?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //像素风
        val mtPixelStyleUrl = "https://openapi.mtlab.meitu.com/v2/mosaicstyle?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //百变滤镜
        val mtVersatileFilterUrl = "https://openapi.mtlab.meitu.com/v1/filter?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //神奇变脸
        val mtFaceChangeUrl = "https://openapi.mtlab.meitu.com/v1/beard?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //食物分割
        val mtFoodSeparationUrl = "https://openapi.mtlab.meitu.com/v1/foodsegment?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //图像画质修复
        val mtImageQualityRestoreUrl = "https://openapi.mtlab.meitu.com/v1/aiquality?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //证件照生成
        val mtPhotoMakeUrl = "https://openapi.mtlab.meitu.com/v1/certified?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //图像风格化
        val mtImageStyleUrl = "https://openapi.mtlab.meitu.com/v1/mtstyle?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"

        //线稿
        val mtXiangaoUrl = "https://openapi.mtlab.meitu.com/v2/csketch?api_key=${meituanAppKey}&api_secret=${meituanAppSecret}"
    }
}